package com.yami.shop.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SubScribeFundsPageVo implements Serializable {

    @Schema(description = "主键")
    private String id;


    @Schema(description = "结算日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date transDate;


    @Schema(description = "用户代码")
    private String userId;


    @Schema(description = "交易金额")
    private BigDecimal money;


    @Schema(description = "备注")
    private String remark;

    @Schema(description = "关联外部id")
    private String outId;

    @Schema(description = "业务类型")
    private String type;

    @Schema(description = "合同号")
    @JsonSerialize(using = ToStringSerializer.class)
    private String orderId;

    @Schema(description = "资金账号")
    private String accout;

    @Schema(description = "昵称")
    private String nickName;

    @Schema(description = "店铺名称")
    private String shopName;

    private Long shopId;
}
